<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
		<link rel="stylesheet" href="{:ADDON_PUBLIC_PATH}/css/weuix.min.css" />
		<link rel="stylesheet" type="text/css" href="{:ADDON_PUBLIC_PATH}/css/adm.css"/>
		<link rel="stylesheet" type="text/css" href="{:ADDON_PUBLIC_PATH}/css/iconfont1.css"/>
		<script type="text/javascript">
		//静态变量
		var SITE_URL = "{:SITE_URL}";
		var IMG_PATH = "__IMG__";
		var STATIC_PATH = "__STATIC__";
		var WX_APPID = "{$jsapiParams.appId}";
		var	WXJS_TIMESTAMP='{$jsapiParams.timestamp}'; 
		var NONCESTR= '{$jsapiParams.nonceStr}'; 
		var SIGNATURE= '{$jsapiParams.signature}';
	</script>
	<script src="{:ADDON_PUBLIC_PATH}/js/jquery-3.2.1.min.js"></script>
	<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
	</head>

	<body>
		<div id="hei">
			
		</div>
		<div class="box">
			<div class="box-bb">
				摄影师
			</div>		
			<div class="main">
				<span class="icon icon-84 icon-interval f-blue" ></span>
			</div>
			<div class="btnn">
				<a class="iconfont icon-zhaoxiangji1"></a>
			</div>
		</div>
		<div class="weui-footer" style="margin-top: 25px;">
		  <p class="weui-footer__links">
		    <a href="javascript:void(0);" class="weui-footer__link">微生活工作室</a>
		  </p>
		  <p class="weui-footer__text" style="border-radius: ;">Copyright © 20016-2017</p>
		</div>
	</body>
	<script>
		wx.config({
            debug: false,
            appId: WX_APPID,
            timestamp: WXJS_TIMESTAMP,
            nonceStr: NONCESTR,
            signature: SIGNATURE,
            jsApiList: ['checkJsApi', 'onMenuShareTimeline',
            'onMenuShareAppMessage',
            'onMenuShareQQ',
            'onMenuShareWeibo',
            'onMenuShareQZone',
            'getLocation',
            'chooseImage',
            'uploadImage',
            'scanQRCode']
        });
	</script>
	<script>
		 	$(function(){
		 		$('.icon-zhaoxiangji1').click(function(){
		 			wx.ready(function(){
		 				wx.scanQRCode({
						    needResult: 0, // 默认为0，扫描结果由微信处理，1则直接返回扫描结果，
						    scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码，默认二者都有
						    success: function (res) {
						    var result = res.resultStr; // 当needResult 为 1 时，扫码返回的结果
						}
						});
					});
		 		});
		 	});
		 </script>
</html>